package com.lee.mybatis.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private Integer id;
    private Integer userNoId;
    private String userName;
    private String password;
    private String realName;
    private Integer gender;
    private String phone;
    private String info;
    private Date createTime;

    private UserNo userNo;
    private Role role;
    private UserRole userRoles;
}
